#include <iostream>
#include <string>
#include <map>
#include <random>

class Token
{
private:
    std::string token;
    static std::map<std::string, std::string> tokenHash;

    std::string generateRandomString(int length);


public:
    Token(int tokenlength);
    static std::string findToken(std::string token);
    static bool removeToken(std::string token);
    static void dispalyToken(){
        for(auto iter=tokenHash.begin();iter!=tokenHash.end();iter++){
            std::cout<<iter->first<<std::endl;
        }
    }
    std::string getToken();
};

